﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Foundation;
using CC98.Security;

namespace CC98.Network
{
    public interface ICC98HttpClientPool
    {
        CC98HttpClient GetClient(string username);

        CC98HttpClient GetClient(Session session, bool isOverwrite);

        IAsyncOperation<CC98HttpClient> LoginClientAsync(CC98Certificate certificate);

        IEnumerable<CC98HttpClient> GetAllClients();
    }
}
